package org.example.myweibo.mapper;

import org.example.myweibo.pojo.entity.Weibo;
import org.example.myweibo.pojo.vo.WeiboDetailVO;
import org.example.myweibo.pojo.vo.WeiboIndexVO;

import java.util.List;

public interface WeiboMapper {
    int insert(Weibo weibo);

    List<WeiboIndexVO> selectWeibo();

    WeiboDetailVO selectWeiboById(int id);
}
